import numpy as np 

# zeros

# create 2d array of zeros

array2d = np.zeros((2,3))

print(f"zero array default dtype:{array2d.dtype} data:{array2d}")

# create 2d array of zeros with dtype int

array2d_int = np.zeros((2,3),dtype=int)

print(f"zero array with dtype :{array2d_int.dtype} data:{array2d_int}")

# ones

# create 2d array of ones
array2d_ones = np.ones((2,3),dtype=int)

print(f"array2d_ones:{array2d_ones}")

array3d_ones = np.ones((2,3,4),dtype=int)

print("array3d_ones:")
print(array3d_ones)

